package com.ruihang.generalibrary.ui.util;

import android.view.View;

/**
 * Created by Ly on 2016/12/13.
 */
public interface IAutoPlayAction {
    /**
     * 自动播放下一个
     *
     * 注意：手指往上滑动是自动向下播放
     * @param isDown 是否是向下自动播放
     */
    void autoNext(View parentView, boolean isDown);

    /**
     * 往上滑动
     * @return
     */
    boolean onScrollUp(View parentView, int layScroolY, int mediaH, float mediaY);
}
